package com.e3.basdoc.region.client;

import com.e3.basdoc.region.model.RegionModel;
import com.e3.template.tgf.TGFGridPanel;
import com.e3.template.tgf.TGFQueryDialog;
import com.e3.template.tgf.TGFRefDialog;
import com.e3.template.tgf.TGFTreePanelAsync;

public class RegionRefDialog extends TGFRefDialog<RegionModel> {

	@Override
	protected String getRefDialogTitle() {
		return RegionMessages.INSTANCE.title_region_refdialog();
	}

	@Override
	protected TGFGridPanel<RegionModel> createGridPanel() {
		return new RegionGridPanel();
	}

	@Override
	protected TGFTreePanelAsync<RegionModel> createTreePanel() {
		return new RegionTreePanel();
	}

	@Override
	protected TGFQueryDialog<RegionModel> createQueryDialog() {
		return new RegionQueryDialog();
	}

	@Override
	protected String getCurrentLocalName() {
		return RegionMessages.INSTANCE.local_name();
	}

}
